package deepbitview

/**
 * used to track orders issued by the internal trading bot and mostly used to track and visualize
 * the trading progress
 */
class BotOrder {

    static constraints = {
    }

    /**
     * current market price
     */
    double marketPrice

    /**
     * our issued buying price
     */
    double buyingPrice

    /**
     * our ssued selling price
     */
    double sellingPrice

    /**
     * was it actually submitted or just a dryrun
     */
    boolean submitted

    /**
     * how many coins do we want to buy
     */
    double buyBitCoins

    /**
     * how many coins do we want to sell
     */
    double sellBitCoins

    /**
     * the order date
     */
    Date orderDate

    /**
     * the buy order oid
     */
    String buyOrderOID = "None assigned"

    /**
     * the sell order OID
     */
    String sellOrderOID = "None assigned"
}
